<script setup>
    //子组件

    //接收方式2 - 对象
    /*
    const props = defineProps({
        user: Number,
        ip: String
    })
    */

   const props = defineProps({
    user: Number,
    url: String
   })
   
   console.log(props)
</script>

<template>
    <h3>Footer</h3> {{ props.user }}
</template>

<style scoped>

</style>